package com.caipin.service;

import com.caipin.domain.table.Teacher;
import com.caipin.domain.table.TeacherWork;
import com.caipin.domain.web.PageBean;

import java.util.List;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2020-08-01 9:11
 * @Description: TODO
 */
public interface TeacherManagementService {
    int importTeacherToMysql(List<Teacher> teacherList);

    PageBean<Teacher> findTeacherList(Integer pageNum, Integer pageSize);

    void delTeacher(String id);

    Teacher findTeacherById(String id);

    void addTeacher(Teacher teacher);

    void updateTeacher(Teacher teacher);

    int importTeacherWorkToMysql(List<TeacherWork> teacherWorkList);

    PageBean<TeacherWork> findTeacherWorkList(Integer pageNum, Integer pageSize, String teacherId);

    PageBean<TeacherWork> findTeacherWorkList(Integer pageNum, Integer pageSize);

    PageBean<TeacherWork> findTeacherWorkList(Integer pageNum, Integer pageSize, String teacherName, String courseName, String grade, String clbum, Integer week, Integer sections, String classroom);

    void delTeacherWorkById(Long id);

    int delTeacherWorkListByIds(List<Long> ids);

    TeacherWork findTeacherWorkById(long id);

    void updateTeacherWork(TeacherWork teacherWork);

    void addTeacherWork(TeacherWork teacherWork);

    List<TeacherWork> findTeacherWorkByCourse(String courseName, String grade, Integer week, Integer sections);

    void cleanTeacherWork();

    List<TeacherWork> findTeacherWorkListByCourse(String courseName, String grade);


    void saveTeacherPhoto(Teacher paramTeacher, String paramString1, String paramString2);
}
